package com.atguigu.day20.exer;

/**
 * @version 1.0
 * @Author 马冰
 * @Date 2024/11/25 16:30
 * @注释
 */
public class Test {
    public static void main(String[] args) {
        PrintTest print = new PrintTest();


        Number number = new Number(print);
        Letter letter = new Letter(print);
        number.setName("数字");
        letter.setName("字母");
        number.start();
        letter.start();
    }
}
